package com.itany.mp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 石小俊
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("t_account")
public class Account {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String accountName;
    private String password;
    private Integer status;

    public Account(String accountName, String password, Integer status) {
        this.accountName = accountName;
        this.password = password;
        this.status = status;
    }
}
